home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / networking / 3707 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: comma.rhein.de!serpens!not-for-mail
  2. From: mlelstv@serpens.rhein.de (Michael van Elst)
  3. Newsgroups: comp.sys.amiga.networking
  4. Subject: Re: AWeb on DraCo
  5. Date: 10 Apr 1996 16:26:12 +0200
  6. Organization: dis-
  7. Distribution: inet
  8. Message-ID: <4kgge4$bkn@serpens.rhein.de>
  9. References: <19960405.7A32D98.10CCA@localhost.UUCP> <jdjvija68z3.fsf@hyppynaru.cs.hut.fi> <ehb.0576@draco.prima.ruhr.de> <neilo-1004961907300001@d220-1.cpe.maroochydore.aone.net.au>
  10. NNTP-Posting-Host: serpens.rhein.de
  11.  
  12. neilo@m140.aone.net.au (Neil O'Rourke) writes:
  13.  
  14. >> Okay, a LONG read from 4 is legal. It's the pointer to execbase.
  15. >> But a WORD read from 4 must be a bug!
  16.  
  17. >Bullshit, check any Commodore docs and example code, they _always_ have a
  18. >word read from location 4 to get execbase.
  19.  
  20. You are wrong. They never have a word read from location 4. A word
  21. read would never fetch the right value anyway, even when you assume
  22. that the ExecBase address could be expressed with a single word and
  23. were in the first or last 32k (which it isn't).
  24.  
  25. Instead you find an instruction like:
  26.  
  27.     movea.l $4.w,a6
  28.  
  29. That's a long word move to an address register using a short
  30. absolute address.
  31.  
  32.  
  33. -- 
  34.                                 Michael van Elst
  35.  
  36. Internet: mlelstv@serpens.rhein.de
  37.                                 "A potential Snark may lurk in every tree."
  38.